package com.xiangge.zuoye;

public class Demo1 {
    public static void main(String[] args) {
        double a = 0.01;
        double b = 0.11;

        double min = getMin(a,b);
        System.out.println("min = " + min);
    }

    public static double getMin(double a, double b) {
        if (a<b){
            return a;
        }else {
            return b;
        }
    }
}
